-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add option to disable context menu entry #374
Conversation
I can help review this one as well. Could you rebase, add a bit more context and relevant tests (if applicable)? |
2fcbd24
to
489b86a
Compare
editorconfig extension adds this context menu entry: I've:
|
👍 Do you know if this feature is testable? This sounds like a useful feature that we should better ensure it survives future changes. |
I don't think it's possible to check whether the entry actually appears in the menu or not, but the state can be tested. I will add tests later. |
4fb01db
to
c80343d
Compare
I've removed the code related to hiding the entry when an |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This will go to 0.17.0, which I plan to release shortly after 0.16.7 (allow a little time to track down some bugs as there was a large dependency change in 0.16.7)
and hide the entry when editorconfig already existstsc
w/o errors (same asnpm run build
).npm run lint
w/o errors.fixes #331
fixes #212